import request from "@/utils/request";

// 查询订单详情列表
export function listBizOrderDetails(query){
  return request({
    url: "/biz/bizOrderDetails/list",
    method: "get",
    params: query
  })
}

// 查询订单详情详细
export function getBizOrderDetails(id){
  return request({
    url: "/biz/bizOrderDetails/" + id,
    method: "get"
  })
}

// 新增订单详情
export function addBizOrderDetails(data){
  return request({
    url: "/biz/bizOrderDetails",
    method: "post",
    data: data
  })
}

// 修改订单详情
export function updateBizOrderDetails(data){
  return request({
    url: "/biz/bizOrderDetails",
    method: "put",
    data: data
  })
}

// 删除订单详情
export function delBizOrderDetails(id){
  return request({
    url: "/biz/bizOrderDetails/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizOrderDetails/findMaxSort",
    method: "get"
  })
}
// 导出订单详情
export function exportBizOrderDetails (query){
  return request({
    url: "/biz/bizOrderDetails/export",
    method: "get",
    params: query
  })
}
